Skip to contentSkip to conversation

Severe flickering with an R9 290

Bug 100726 [email protected] 1 participant 16 messages Apr 19, 2017 – Nov 19, 2019

lore
Share & tools
lore
#0 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=100726

            Bug ID: 100726
           Summary: [REGRESSION][BISECTED] Severe flickering with an R9
                    290
           Product: DRI
           Version: unspecified
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: DRM/AMDgpu
          Assignee: [email protected]
          Reporter: [email protected]

As of the commit:

    d8d1721cfb3162abbda078d67a928792d6552b84 : A series of fixup patches meant

to fix the usage of DMA on stack, plus one warning fixup

My R9 290 produces heavy flickering artifacts in 1 of 3 or 4 cases when starting Linux.
I am using the amdgpu kernel module, and have not tested this with radeon. When the bug occurs, the system is completely unusable.

Since the occurence of this bug is not really deterministic, bisecting it was not that easy. I hope I didn't make any mistake.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#1 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=100726

--- Comment #1 from [email protected] ---
Created attachment 130926
--> https://bugs.freedesktop.org/attachment.cgi?id=130926&action=edit
Short video showing the issue

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#2 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=100726

--- Comment #2 from Michel Dänzer <[email protected]> ---
It's unlikely that this is caused by the bisected commit. You'll need to test longer before declaring a commit as good.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#4 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=100726

Alex Deucher <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#5 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=100726

[email protected] changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |---

--- Comment #4 from [email protected] ---
I was wrong, unfortunately. This error is still present. A friend of mine is having the same problem with a Fury X card.

So I did another bisect, waiting longer before declaring a commit as good. But at some point, the build always crashed with:

kernel/built-in.o: In function `update_wall_time':
(.text+0x52c37): undefined reference to `____ilog2_NaN'
make: *** [Makefile:961: vmlinux] Error 1

So I had to skip all remaining commits.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#6 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=100726

--- Comment #5 from [email protected] ---
Created attachment 135725
--> https://bugs.freedesktop.org/attachment.cgi?id=135725&action=edit
New Bisect log

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#7 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=100726

Michel Dänzer <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

 Attachment #135725|text/x-log                  |text/plain
          mime type|                            |
Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#8 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=100726

--- Comment #6 from Michel Dänzer <[email protected]> --- None of those commits look even remotely related, so I'm afraid you still incorrectly labelled at least one bad commit as good.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#9 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=100726

--- Comment #7 from [email protected] ---
I already waited at least 1 week, before marking a commit as good. I guess I will have to try 2 weeks this time. This is going to take ages.

Are you sure, that b7d91c915290ab0bfbab84a0fb9c9eae57816982 is definitely not the cause?

Maybe some helpful information regarding the bug:

- It appears noticably more often, when rebooting to Linux after gaming in a dual-booted Windows.
- When booting, the virtual console disappears, the screen displays black, the login-manager appears. When the flickering does not appear, the black-sequence (mode-setting?) takes noticably longer, than when the flickering appears.
- We both have two displays. One connected through HDMI, one through DisplayPort.
- I have two 2K screens, the Fury X-User has one 4K and one FullHD screen.
- We both have the login-manager SDDM
- For me, when booting the machine (BIOS) - the screen resolution of GRUB is quite random. Sometimes, it's using the native screen resolution, sometimes it is using a very reduced resolution. Sometimes, it's only displaying on one of the two screens, sometimes it's displaying on both. But that wasn't a problem before linux-4.9.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#10 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=100726

--- Comment #8 from Michel Dänzer <[email protected]> --- (In reply to hiwatari.seiji from comment #7)

Quoted 2 lines

Are you sure, that b7d91c915290ab0bfbab84a0fb9c9eae57816982 is definitely not the cause?

At least 99% sure. Pure merge commits are almost never a correct bisection result.

Quoted 5 lines

- For me, when booting the machine (BIOS) - the screen resolution of GRUB is quite random. Sometimes, it's using the native screen resolution, sometimes it is using a very reduced resolution. Sometimes, it's only displaying on one of the two screens, sometimes it's displaying on both. But that wasn't a problem before linux-4.9.

This is before the Linux kernel is even loaded, so it can hardly be directly related to it.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#11 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=100726

--- Comment #9 from [email protected] ---
My last try of bisecting the error. I'm pretty sure I've got the correct commit this time. I first ran 4 Weeks on the 4.9-rc1 without the error ever appearing, upgraded to one or two release candidates higher, rebooted and instantly had the error. I then did the bisecting in this window, waiting 3-4 Weeks for the error to appear per commit, before flagging the kernel as ok.

Git then tells me, that 5f7f8f6edbf860abf18149a64be036d4be5e2993 is the first bad commit.
I will attach the new bisect log. I don't know if the error might already have been fixed, since I've been months on this ancient version. But I will try that in the following weeks.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#12 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=100726

--- Comment #10 from [email protected] ---
Created attachment 138086
--> https://bugs.freedesktop.org/attachment.cgi?id=138086&action=edit
Bisect Log 3

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#15 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=100726

Martin Peres <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

         Resolution|---                         |MOVED
             Status|REOPENED                    |RESOLVED

--- Comment #13 from Martin Peres <[email protected]> --- -- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/drm/amd/issues/154.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel